"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
var vue_router_1 = require("vue-router");
var router = (0, vue_router_1.useRouter)();
var teamList = (0, vue_1.ref)([
    {
        id: 1,
        time: '2024.1',
        name: '张三',
        position: '宣传经理',
        brand: 'guiCi',
        cumulativePayment: '¥400000',
        cumulativeShipments: '¥500',
        paymentTask: '¥400000',
        completionProgress: '20%',
        actualCompletion: '¥4000',
        monthlyPerformance: '¥400',
        dailyList: [
            { date: '1.1', brand: 'guiCi', cumulativePayment: '¥400000', cumulativeShipments: '¥500', paymentTask: '¥400000', completionProgress: '20%', actualCompletion: '¥4000', monthlyPerformance: '¥400' },
            { date: '1.2', brand: 'guiCi', cumulativePayment: '¥400000', cumulativeShipments: '¥500', paymentTask: '¥400000', completionProgress: '20%', actualCompletion: '¥4000', monthlyPerformance: '¥400' },
            { date: '1.3', brand: 'guiCi', cumulativePayment: '¥400000', cumulativeShipments: '¥500', paymentTask: '¥400000', completionProgress: '20%', actualCompletion: '¥4000', monthlyPerformance: '¥400' }
        ]
    },
    {
        id: 2,
        time: '2024.1',
        name: '李四',
        position: '宣传组长',
        brand: 'guiCi',
        cumulativePayment: '¥400000',
        cumulativeShipments: '¥500',
        paymentTask: '¥400000',
        completionProgress: '20%',
        actualCompletion: '¥4000',
        monthlyPerformance: '¥400',
        dailyList: []
    },
    {
        id: 3,
        time: '2024.1',
        name: '王五',
        position: '宣传组员',
        brand: 'guiCi',
        cumulativePayment: '¥400000',
        cumulativeShipments: '¥500',
        paymentTask: '¥400000',
        completionProgress: '20%',
        actualCompletion: '¥4000',
        monthlyPerformance: '¥400',
        dailyList: []
    }
]);
var dialogVisible = (0, vue_1.ref)(false);
var currentDetail = (0, vue_1.ref)({});
var openDetailDialog = function (row) {
    currentDetail.value = __assign({}, row);
    dialogVisible.value = true;
};
var handleReturn = function () {
    console.log('返回操作');
    router.back();
};
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
var __VLS_ctx = __assign(__assign({}, {}), {});
var __VLS_elements;
var __VLS_components;
var __VLS_directives;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "team-management-page" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "page-header" }));
__VLS_asFunctionalElement(__VLS_elements.h2, __VLS_elements.h2)({});
var __VLS_0 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0(__assign({ 'onClick': {} }, { type: "text" })));
var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "text" })], __VLS_functionalComponentArgsRest(__VLS_1), false));
var __VLS_4;
var __VLS_5;
var __VLS_6 = ({ click: {} },
    { onClick: (__VLS_ctx.handleReturn) });
var __VLS_7 = __VLS_3.slots.default;
// @ts-ignore
[handleReturn,];
var __VLS_3;
var __VLS_8 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8(__assign(__assign({ data: (__VLS_ctx.teamList), border: true, stripe: true }, { style: {} }), { headerCellStyle: ({ backgroundColor: '#f5f7fa', fontWeight: 'bold' }) })));
var __VLS_10 = __VLS_9.apply(void 0, __spreadArray([__assign(__assign({ data: (__VLS_ctx.teamList), border: true, stripe: true }, { style: {} }), { headerCellStyle: ({ backgroundColor: '#f5f7fa', fontWeight: 'bold' }) })], __VLS_functionalComponentArgsRest(__VLS_9), false));
var __VLS_12 = __VLS_11.slots.default;
// @ts-ignore
[teamList,];
var __VLS_13 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_14 = __VLS_asFunctionalComponent(__VLS_13, new __VLS_13({
    prop: "time",
    label: "时间",
    align: "center",
}));
var __VLS_15 = __VLS_14.apply(void 0, __spreadArray([{
        prop: "time",
        label: "时间",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_14), false));
var __VLS_18 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18({
    prop: "name",
    label: "姓名",
    align: "center",
}));
var __VLS_20 = __VLS_19.apply(void 0, __spreadArray([{
        prop: "name",
        label: "姓名",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_19), false));
var __VLS_23 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_24 = __VLS_asFunctionalComponent(__VLS_23, new __VLS_23({
    prop: "position",
    label: "职位",
    align: "center",
}));
var __VLS_25 = __VLS_24.apply(void 0, __spreadArray([{
        prop: "position",
        label: "职位",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_24), false));
var __VLS_28 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_29 = __VLS_asFunctionalComponent(__VLS_28, new __VLS_28({
    prop: "brand",
    label: "负责品牌",
    align: "center",
}));
var __VLS_30 = __VLS_29.apply(void 0, __spreadArray([{
        prop: "brand",
        label: "负责品牌",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_29), false));
var __VLS_33 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_34 = __VLS_asFunctionalComponent(__VLS_33, new __VLS_33({
    prop: "cumulativePayment",
    label: "累计回款",
    align: "center",
}));
var __VLS_35 = __VLS_34.apply(void 0, __spreadArray([{
        prop: "cumulativePayment",
        label: "累计回款",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_34), false));
var __VLS_38 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_39 = __VLS_asFunctionalComponent(__VLS_38, new __VLS_38({
    prop: "cumulativeShipments",
    label: "累计出货",
    align: "center",
}));
var __VLS_40 = __VLS_39.apply(void 0, __spreadArray([{
        prop: "cumulativeShipments",
        label: "累计出货",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_39), false));
var __VLS_43 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_44 = __VLS_asFunctionalComponent(__VLS_43, new __VLS_43({
    prop: "paymentTask",
    label: "回款任务",
    align: "center",
}));
var __VLS_45 = __VLS_44.apply(void 0, __spreadArray([{
        prop: "paymentTask",
        label: "回款任务",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_44), false));
var __VLS_48 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_49 = __VLS_asFunctionalComponent(__VLS_48, new __VLS_48({
    prop: "completionProgress",
    label: "完成进度",
    align: "center",
}));
var __VLS_50 = __VLS_49.apply(void 0, __spreadArray([{
        prop: "completionProgress",
        label: "完成进度",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_49), false));
var __VLS_53 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_54 = __VLS_asFunctionalComponent(__VLS_53, new __VLS_53({
    prop: "actualCompletion",
    label: "实际完成额",
    align: "center",
}));
var __VLS_55 = __VLS_54.apply(void 0, __spreadArray([{
        prop: "actualCompletion",
        label: "实际完成额",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_54), false));
var __VLS_58 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_59 = __VLS_asFunctionalComponent(__VLS_58, new __VLS_58({
    prop: "monthlyPerformance",
    label: "当月绩效",
    align: "center",
}));
var __VLS_60 = __VLS_59.apply(void 0, __spreadArray([{
        prop: "monthlyPerformance",
        label: "当月绩效",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_59), false));
var __VLS_63 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_64 = __VLS_asFunctionalComponent(__VLS_63, new __VLS_63({
    label: "操作",
    align: "center",
    width: "160",
}));
var __VLS_65 = __VLS_64.apply(void 0, __spreadArray([{
        label: "操作",
        align: "center",
        width: "160",
    }], __VLS_functionalComponentArgsRest(__VLS_64), false));
var __VLS_67 = __VLS_66.slots.default;
{
    var __VLS_68 = __VLS_66.slots.default;
    var scope_1 = __VLS_getSlotParameters(__VLS_68)[0];
    var __VLS_69 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_70 = __VLS_asFunctionalComponent(__VLS_69, new __VLS_69(__assign({ 'onClick': {} }, { type: "primary", plain: true, size: "small" })));
    var __VLS_71 = __VLS_70.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "primary", plain: true, size: "small" })], __VLS_functionalComponentArgsRest(__VLS_70), false));
    var __VLS_73 = void 0;
    var __VLS_74 = void 0;
    var __VLS_75 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.openDetailDialog(scope_1.row);
                // @ts-ignore
                [openDetailDialog,];
            } });
    var __VLS_76 = __VLS_72.slots.default;
    var __VLS_72;
}
var __VLS_66;
var __VLS_11;
var __VLS_77 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_78 = __VLS_asFunctionalComponent(__VLS_77, new __VLS_77({
    modelValue: (__VLS_ctx.dialogVisible),
    title: ("".concat(__VLS_ctx.currentDetail.name, "\u660E\u7EC6")),
    width: "80%",
}));
var __VLS_79 = __VLS_78.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.dialogVisible),
        title: ("".concat(__VLS_ctx.currentDetail.name, "\u660E\u7EC6")),
        width: "80%",
    }], __VLS_functionalComponentArgsRest(__VLS_78), false));
var __VLS_81 = __VLS_80.slots.default;
// @ts-ignore
[dialogVisible, currentDetail,];
var __VLS_82 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_83 = __VLS_asFunctionalComponent(__VLS_82, new __VLS_82(__assign(__assign({ data: (__VLS_ctx.currentDetail.dailyList), border: true, stripe: true }, { style: {} }), { headerCellStyle: ({ backgroundColor: '#f5f7fa', fontWeight: 'bold' }) })));
var __VLS_84 = __VLS_83.apply(void 0, __spreadArray([__assign(__assign({ data: (__VLS_ctx.currentDetail.dailyList), border: true, stripe: true }, { style: {} }), { headerCellStyle: ({ backgroundColor: '#f5f7fa', fontWeight: 'bold' }) })], __VLS_functionalComponentArgsRest(__VLS_83), false));
var __VLS_86 = __VLS_85.slots.default;
// @ts-ignore
[currentDetail,];
var __VLS_87 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_88 = __VLS_asFunctionalComponent(__VLS_87, new __VLS_87({
    prop: "date",
    label: "时间",
    align: "center",
}));
var __VLS_89 = __VLS_88.apply(void 0, __spreadArray([{
        prop: "date",
        label: "时间",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_88), false));
var __VLS_92 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_93 = __VLS_asFunctionalComponent(__VLS_92, new __VLS_92({
    prop: "brand",
    label: "负责品牌",
    align: "center",
}));
var __VLS_94 = __VLS_93.apply(void 0, __spreadArray([{
        prop: "brand",
        label: "负责品牌",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_93), false));
var __VLS_97 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_98 = __VLS_asFunctionalComponent(__VLS_97, new __VLS_97({
    prop: "cumulativePayment",
    label: "累计回款",
    align: "center",
}));
var __VLS_99 = __VLS_98.apply(void 0, __spreadArray([{
        prop: "cumulativePayment",
        label: "累计回款",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_98), false));
var __VLS_102 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_103 = __VLS_asFunctionalComponent(__VLS_102, new __VLS_102({
    prop: "cumulativeShipments",
    label: "累计出货",
    align: "center",
}));
var __VLS_104 = __VLS_103.apply(void 0, __spreadArray([{
        prop: "cumulativeShipments",
        label: "累计出货",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_103), false));
var __VLS_107 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_108 = __VLS_asFunctionalComponent(__VLS_107, new __VLS_107({
    prop: "paymentTask",
    label: "回款任务",
    align: "center",
}));
var __VLS_109 = __VLS_108.apply(void 0, __spreadArray([{
        prop: "paymentTask",
        label: "回款任务",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_108), false));
var __VLS_112 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_113 = __VLS_asFunctionalComponent(__VLS_112, new __VLS_112({
    prop: "completionProgress",
    label: "完成进度",
    align: "center",
}));
var __VLS_114 = __VLS_113.apply(void 0, __spreadArray([{
        prop: "completionProgress",
        label: "完成进度",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_113), false));
var __VLS_117 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_118 = __VLS_asFunctionalComponent(__VLS_117, new __VLS_117({
    prop: "actualCompletion",
    label: "实际完成额",
    align: "center",
}));
var __VLS_119 = __VLS_118.apply(void 0, __spreadArray([{
        prop: "actualCompletion",
        label: "实际完成额",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_118), false));
var __VLS_122 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_123 = __VLS_asFunctionalComponent(__VLS_122, new __VLS_122({
    prop: "monthlyPerformance",
    label: "当月绩效",
    align: "center",
}));
var __VLS_124 = __VLS_123.apply(void 0, __spreadArray([{
        prop: "monthlyPerformance",
        label: "当月绩效",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_123), false));
var __VLS_85;
{
    var __VLS_127 = __VLS_80.slots.footer;
    var __VLS_128 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_129 = __VLS_asFunctionalComponent(__VLS_128, new __VLS_128(__assign({ 'onClick': {} })));
    var __VLS_130 = __VLS_129.apply(void 0, __spreadArray([__assign({ 'onClick': {} })], __VLS_functionalComponentArgsRest(__VLS_129), false));
    var __VLS_132 = void 0;
    var __VLS_133 = void 0;
    var __VLS_134 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.dialogVisible = false;
                // @ts-ignore
                [dialogVisible,];
            } });
    var __VLS_135 = __VLS_131.slots.default;
    var __VLS_131;
}
var __VLS_80;
/** @type {__VLS_StyleScopedClasses['team-management-page']} */ ;
/** @type {__VLS_StyleScopedClasses['page-header']} */ ;
var __VLS_export = (await Promise.resolve().then(function () { return require('vue'); })).defineComponent({});
exports.default = {};
